package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * bom工序对应车间的节拍对象 main_bom_process_step
 *
 * @author qijian
 * @date 2023-09-07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("main_bom_process_step")
public class BomProcessStep extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "id")
    private Long id;

    @Excel(name = "车间名")
    @ApiModelProperty(value = "车间名")
    private String factoryName;

    @Excel(name = "天数")
    @ApiModelProperty(value = "天数")
    private Integer days;

    @Excel(name = "bom_id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "bom_id")
    private Long bomId;

    @Excel(name = "车间排序")
    @ApiModelProperty(value = "车间排序")
    private Long orderNum;

}
